﻿@{  
    Layout = "~/Views/Shared/_AppLayout.cshtml";
    List<Lion.WeiXin.Core.Models.ProductModel> list = Model as List<Lion.WeiXin.Core.Models.ProductModel>;
}
@section ChildPageJs {
    <script src="/Scripts/App_Scripts/WeiXinProduct.js" type="text/javascript"></script>
}
<ul id="lstProducts" data-role="listview" data-split-icon="gear" data-filter="true" data-filter-placeholder="搜索项目" data-inset="true">
    @foreach (Lion.WeiXin.Core.Models.ProductModel item in list)
    {
        <li data-name="@item.AID">
            <a href="/WeiXin/ProductItem?ID=@item.AID" rel="external" >
                <img src="@item.Image" style="width:100%;height:100%;margin:1px;">
                <p style="margin:0px;">@item.Name </p>
                <p style="text-decoration:line-through;">￥：@item.Price</p>
                <p style="margin:0px;color:red;">￥：@item.Current_Price &nbsp;(@item.Discount)折</p>
            </a>
        </li>
    }
</ul>
